<?php
// Specify the layout path of the admin console
$webApp->setLayoutPath(Yii::app()->viewPath.DIRECTORY_SEPARATOR.'admin'.DIRECTORY_SEPARATOR.'layouts');
$webApp->user->loginUrl = array('admin/login');